package com.monkey.tensquare.spit.mapper;

import com.monkey.tensquare.spit.entity.Spit;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface SpitMapper extends MongoRepository<Spit,String> {
    Page<Spit> findByParentid(String parentid, Pageable pageable);

}
